package com.mao.wx.demo.model.message;

import java.util.Map;

public class WxVoiceMessage extends  WxBasicMessage{

	private String MediaId;
	private String Format;
	
	public WxVoiceMessage() {
	}

	public WxVoiceMessage(Map<String, String> map) throws Exception{
		super(map);
		this.MediaId=map.get("MediaId");
		this.Format=map.get("Format");
	}
	
	public String getMediaId() {
		return MediaId;
	}

	public void setMediaId(String mediaId) {
		this.MediaId = mediaId;
	}

	public String getFormat() {
		return Format;
	}

	public void setFormat(String format) {
		this.Format = format;
	}


	
}
